/**
 * HttpException 类用于处理 HTTP 异常
 * @class HttpException
 * @extends Error
 * @property {number} status - HTTP 状态码
 * @property {string} message - 错误信息
 * @constructor
 * @param {number} status - HTTP 状态码
 * @param {string} message - 错误信息
*/
export class HttpException extends Error {
    status: number;
    message: string;
    constructor(status: number, message: string) {
        super(message);
        this.status = status;
        this.message = message;
    }
    
}